package service.ws;

public class NetTicketSellServiceImplSoapProxy implements NetTicketSellServiceImplSoap {
  private String _endpoint = null;
  private NetTicketSellServiceImplSoap netTicketSellServiceImplSoap = null;
  
  public NetTicketSellServiceImplSoapProxy() {
    _initNetTicketSellServiceImplSoapProxy();
  }
  
  public NetTicketSellServiceImplSoapProxy(String endpoint) {
    _endpoint = endpoint;
    _initNetTicketSellServiceImplSoapProxy();
  }
  
  private void _initNetTicketSellServiceImplSoapProxy() {
    try {
      netTicketSellServiceImplSoap = (new NetTicketSellServiceImplLocator()).getNetTicketSellServiceImplSoap();
      if (netTicketSellServiceImplSoap != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)netTicketSellServiceImplSoap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)netTicketSellServiceImplSoap)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (netTicketSellServiceImplSoap != null)
      ((javax.xml.rpc.Stub)netTicketSellServiceImplSoap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public NetTicketSellServiceImplSoap getNetTicketSellServiceImplSoap() {
    if (netTicketSellServiceImplSoap == null)
      _initNetTicketSellServiceImplSoapProxy();
    return netTicketSellServiceImplSoap;
  }
  
  public java.lang.String residueseatquery(java.lang.String arg0) throws java.rmi.RemoteException{
    if (netTicketSellServiceImplSoap == null)
      _initNetTicketSellServiceImplSoapProxy();
    return netTicketSellServiceImplSoap.residueseatquery(arg0);
  }
  
  public java.lang.String lock(java.lang.String arg0) throws java.rmi.RemoteException{
    if (netTicketSellServiceImplSoap == null)
      _initNetTicketSellServiceImplSoapProxy();
    return netTicketSellServiceImplSoap.lock(arg0);
  }
  
  public java.lang.String unlock(java.lang.String arg0) throws java.rmi.RemoteException{
    if (netTicketSellServiceImplSoap == null)
      _initNetTicketSellServiceImplSoapProxy();
    return netTicketSellServiceImplSoap.unlock(arg0);
  }
  
  public java.lang.String sell(java.lang.String arg0) throws java.rmi.RemoteException{
    if (netTicketSellServiceImplSoap == null)
      _initNetTicketSellServiceImplSoapProxy();
    return netTicketSellServiceImplSoap.sell(arg0);
  }
  
  public java.lang.String returnticket(java.lang.String arg0) throws java.rmi.RemoteException{
    if (netTicketSellServiceImplSoap == null)
      _initNetTicketSellServiceImplSoapProxy();
    return netTicketSellServiceImplSoap.returnticket(arg0);
  }
  
  public java.lang.String orderquery(java.lang.String arg0) throws java.rmi.RemoteException{
    if (netTicketSellServiceImplSoap == null)
      _initNetTicketSellServiceImplSoapProxy();
    return netTicketSellServiceImplSoap.orderquery(arg0);
  }
  
  public java.lang.String taketicket(java.lang.String arg0) throws java.rmi.RemoteException{
    if (netTicketSellServiceImplSoap == null)
      _initNetTicketSellServiceImplSoapProxy();
    return netTicketSellServiceImplSoap.taketicket(arg0);
  }
  
  public java.lang.String changeticketno(java.lang.String arg0) throws java.rmi.RemoteException{
    if (netTicketSellServiceImplSoap == null)
      _initNetTicketSellServiceImplSoapProxy();
    return netTicketSellServiceImplSoap.changeticketno(arg0);
  }
  
  public java.lang.String taketicketquery(java.lang.String arg0) throws java.rmi.RemoteException{
    if (netTicketSellServiceImplSoap == null)
      _initNetTicketSellServiceImplSoapProxy();
    return netTicketSellServiceImplSoap.taketicketquery(arg0);
  }
  
  
}